/**
 * 
 */
package components;

public class CheckBoxNode
{

	/** The text. */
	String text;

	/** The selected. */
	boolean selected;

	public CheckBoxNode(String text, boolean selected)
	{
		this.text = text;
		this.selected = selected;
	}

	public String getText()
	{
		return this.text;
	}

	public boolean isSelected()
	{
		return this.selected;
	}

	public void setSelected(boolean newValue)
	{
		this.selected = newValue;
	}

	public void setText(String newValue)
	{
		this.text = newValue;
	}

	public String toString()
	{
		return this.getClass().getName() + "[" + this.text + "/"
		        + this.selected + "]";
	}
}
